<!--
 * @Author: 支付成功头部导航
 * @Date: 2020-06-30 11:03:12
 * @LastEditTime: 2020-07-06 16:50:05
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \JK商城\jkshopping\src\pages\payment\pay\fail\components\nabBar.vue
--> 
<template>
  <div class="nabBar">
    <van-nav-bar
      title="支付成功"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
    />
  </div>
</template>

<script>
export default {
    methods: {
        /*返回上一页*/
        onClickLeft(){
            this.$router.push("./shoppingcart")
        }
    },
};
</script>

<style>
</style>